<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Library Evolutionary Algorithms for Clustering (LEAC): gafuncobj::GAFunctionObjective&lt; T_GENE, T_METRIC &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="leac_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Library Evolutionary Algorithms for Clustering (LEAC)
   &#160;<span id="projectnumber">Version 1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegafuncobj.html">gafuncobj</a></li><li class="navelem"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">GAFunctionObjective</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgafuncobj_1_1_g_a_function_objective-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gafuncobj::GAFunctionObjective&lt; T_GENE, T_METRIC &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Definition of the abstract class <a class="el" href="classgafuncobj_1_1_g_a_function_objective.html" title="Definition of the abstract class GAFunctionObjective. It is used to evaluate an objective function,...">GAFunctionObjective</a>. It is used to evaluate an objective function, in a virtual way in some other function.  
 <a href="classgafuncobj_1_1_g_a_function_objective.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ga__function__objective_8hpp_source.html">ga_function_objective.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gafuncobj::GAFunctionObjective&lt; T_GENE, T_METRIC &gt;:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgafuncobj_1_1_g_a_function_objective__inherit__graph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
<div class="dynheader">
Collaboration diagram for gafuncobj::GAFunctionObjective&lt; T_GENE, T_METRIC &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgafuncobj_1_1_g_a_function_objective__coll__graph.svg" width="226" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a41cb039f3c159260c5d9913ea236d969"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html#a41cb039f3c159260c5d9913ea236d969">GAFunctionObjective</a> ()</td></tr>
<tr class="separator:a41cb039f3c159260c5d9913ea236d969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5823567c58d9000b52350b1d108171b7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html#a5823567c58d9000b52350b1d108171b7">~GAFunctionObjective</a> ()</td></tr>
<tr class="separator:a5823567c58d9000b52350b1d108171b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f2107d0c918b8514b493f77d8b4c473"><td class="memItemLeft" align="right" valign="top">virtual std::pair&lt; T_METRIC, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html#a0f2107d0c918b8514b493f77d8b4c473">getObjetiveFunc</a> (T_GENE *)=0</td></tr>
<tr class="separator:a0f2107d0c918b8514b493f77d8b4c473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abec6f65389554c7b4ac03130ce5dfd4a"><td class="memItemLeft" align="right" valign="top">virtual T_METRIC&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html#abec6f65389554c7b4ac03130ce5dfd4a">getFitness</a> (T_METRIC)=0</td></tr>
<tr class="separator:abec6f65389554c7b4ac03130ce5dfd4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T_GENE, class T_METRIC&gt;<br />
class gafuncobj::GAFunctionObjective&lt; T_GENE, T_METRIC &gt;</h3>

<p>Definition of the abstract class <a class="el" href="classgafuncobj_1_1_g_a_function_objective.html" title="Definition of the abstract class GAFunctionObjective. It is used to evaluate an objective function,...">GAFunctionObjective</a>. It is used to evaluate an objective function, in a virtual way in some other function. </p>

<p class="definition">Definition at line <a class="el" href="ga__function__objective_8hpp_source.html#l00031">31</a> of file <a class="el" href="ga__function__objective_8hpp_source.html">ga_function_objective.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a41cb039f3c159260c5d9913ea236d969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41cb039f3c159260c5d9913ea236d969">&#9670;&nbsp;</a></span>GAFunctionObjective()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_GENE, class T_METRIC&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">gafuncobj::GAFunctionObjective</a>&lt; T_GENE, T_METRIC &gt;::<a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">GAFunctionObjective</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ga__function__objective_8hpp_source.html#l00033">33</a> of file <a class="el" href="ga__function__objective_8hpp_source.html">ga_function_objective.hpp</a>.</p>

</div>
</div>
<a id="a5823567c58d9000b52350b1d108171b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5823567c58d9000b52350b1d108171b7">&#9670;&nbsp;</a></span>~GAFunctionObjective()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_GENE, class T_METRIC&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">gafuncobj::GAFunctionObjective</a>&lt; T_GENE, T_METRIC &gt;::~<a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">GAFunctionObjective</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ga__function__objective_8hpp_source.html#l00037">37</a> of file <a class="el" href="ga__function__objective_8hpp_source.html">ga_function_objective.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abec6f65389554c7b4ac03130ce5dfd4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec6f65389554c7b4ac03130ce5dfd4a">&#9670;&nbsp;</a></span>getFitness()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_GENE, class T_METRIC&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual T_METRIC <a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">gafuncobj::GAFunctionObjective</a>&lt; T_GENE, T_METRIC &gt;::getFitness </td>
          <td>(</td>
          <td class="paramtype">T_METRIC&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classgafuncobj_1_1_g_a_func_obj_s_s_e.html#a3206e8b16a54f29fc6429d4eb260ee5e">gafuncobj::GAFuncObjSSE&lt; T_FEATURE, T_CLUSTERIDX, T_METRIC, INPUT_ITERATOR &gt;</a>.</p>

<p class="reference">Referenced by <a class="el" href="ga__generic__operator_8hpp_source.html#l00476">gagenericop::pathCrossover()</a>.</p>

</div>
</div>
<a id="a0f2107d0c918b8514b493f77d8b4c473"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f2107d0c918b8514b493f77d8b4c473">&#9670;&nbsp;</a></span>getObjetiveFunc()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T_GENE, class T_METRIC&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::pair&lt;T_METRIC,bool&gt; <a class="el" href="classgafuncobj_1_1_g_a_function_objective.html">gafuncobj::GAFunctionObjective</a>&lt; T_GENE, T_METRIC &gt;::getObjetiveFunc </td>
          <td>(</td>
          <td class="paramtype">T_GENE *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classgafuncobj_1_1_g_a_func_obj_s_s_e.html#a7c386aecdf9ab885bfc15b79021ecbfa">gafuncobj::GAFuncObjSSE&lt; T_FEATURE, T_CLUSTERIDX, T_METRIC, INPUT_ITERATOR &gt;</a>.</p>

<p class="reference">Referenced by <a class="el" href="ga__generic__operator_8hpp_source.html#l00476">gagenericop::pathCrossover()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="ga__function__objective_8hpp_source.html">ga_function_objective.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 19 2019 08:58:35 for Library Evolutionary Algorithms for Clustering (LEAC) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
